Ext.define("Mypocket.view.legislator.TabPanel", {
    extend: "Ext.tab.Panel",
    requires: ["Mypocket.view.legislator.Bio", "Mypocket.view.bill.List", "Mypocket.view.vote.List"],
    id: "legislatorTabPanel",
    config: {
        tabBar: {
            ui: "gray"
        },
        items: [{
            id: "legislatorToolbar",
            docked: "top",
            xtype: "toolbar",
            items: [{
                xtype: "button",
                text: "返回",
                ui: "back",
                id: "legislatorBackButton"
            }]
        },
        {
            title: "学校介绍",
            xclass: "Mypocket.view.legislator.Bio"
        },
        {
            title: "特色学科",
            xclass: "Mypocket.view.bill.List"
        },
        {
            title: "老师推荐",
            xclass: "Mypocket.view.vote.List"
        },
        {
            xtype: "toolbar",
            docked: "bottom",
            ui: "light",
            layout: {
                pack: "right"
            },
            scrollable: {
                direction: "horizontal",
                indicators: !1
            },
            items: [{
                iconMask: !0,
                text: "首页",
                listeners: {
                    tap: function() {
                        Ext.getCmp("viewport").setActiveItem(0)
                    }
                }
            },
            {
                iconMask: !0,
                text: "更多...",
                id: "morebutton"
            }]
        }]
    }
});